package com.asa.ui.F;

public class ImageUrlUtil {
	public static final int BLOCK_WIDTH=32;
	public static final String BASE_URL="resource";
	public static final String BLOCK_IMAGE=BASE_URL+"/block.png";
	public static final String MINE_IMAGE=BASE_URL+"/mine.png";
	public static final String FLAG_IMAGE=BASE_URL+"/flag.png";
	public static String getMineNumber(int num){
		if(num<0||num>8){
			throw new IllegalArgumentException("请输入正确的数字");
		}
		return BASE_URL+"/"+num+".png";
	}


}
